#!/usr/bin/env python

import random
lst1=[random.randint(1,20) for i in range(20)]
lst2={j:lst1.count(j) for j in lst1}
lst3=sorted(lst2.items(),key=lambda  item: item[1], reverse=True)
lst4=[lst3[n] for  n in range(3)]
print(lst4)


# 完成的不错








